<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<LINK rel="stylesheet" type="text/css" href="design.css">
<title>ajouter un nouvel article</title>
</head>
<body>
<form method="POST" action="/admin/ajouterArticle">
<table>
<tr><td><p>type:</p></td><td><select name="type">
<OPTION VALUE="ecran">ecran</OPTION>
<OPTION VALUE="cartegraphique">carte graphique</OPTION>
<OPTION VALUE="cartemere">carte mère</OPTION>
<OPTION VALUE="alimentation">alimentation</OPTION>
<OPTION VALUE="jeu">jeu</OPTION>
</select>
</td></tr>
<tr><td><p>nom:</p></td><td><input type="text" name="name"/></td></tr>
<tr><td><p>description:</p></td><td><textarea rows="7" name="description"></textarea></td></tr>
<tr><td><p>prix:</p></td><td><input type="number" name="prix"/></td></tr>
<tr><td><p>quantite</p></td><td><input type="number" name="quantite"/></td></tr>
<tr><td><p>montrer sur la page d'accueil</p></td><td><input type="checkbox" name="showmeonhomepage"/></td></tr>
</table>
<input type="submit" value="ajouter"/>
</form>
</body>
</html>